/*!
    \copyright  Copyright (c) 2025 Qualcomm Technologies International, Ltd.
                All Rights Reserved.
                Qualcomm Technologies International, Ltd. Confidential and Proprietary.
    \file
    \defgroup   ttp_toa_diagnostics Time to play time of arrival diagnostic reporting
    \ingroup    audio_domain
    \brief      This module is used to retrieve diagnostic information from the audio subsystem or 
                apps platform about the observed difference between the requested time to play (TTP)
                and the actual packet time of arrival (TOA).
*/

#ifndef TTP_TOA_DIAGNOSTICS_H_
#define TTP_TOA_DIAGNOSTICS_H_

#include <types.h>
#include "audio_a2dp_types.h"

/*!@{*/

/*! \brief Get the observed difference between the requested time to play (TTP) and the actual packet time of arrival (TOA)
    \arg Pointer to a audio_a2dp_ttp_toa_delta_histogram_t structure binning the TTP/TOA deltas in the specified ranges.
    \return TRUE if the operation is succesful, FALSE otherwise.
 */
bool TtpToaDiagnostics_GetDeltaHistogram(audio_a2dp_ttp_toa_delta_histogram_t *hist);

/*!@}*/

#endif /* TTP_TOA_DIAGNOSTICS_H_ */
